package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.Elevation;
import com.css.fxfzypg.modules.baseData.queryParams.ElevationQueryParams;
import com.css.fxfzypg.modules.baseData.vo.ElevationVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ElevationService {
    ElevationVO updateElevation(ElevationVO elevationVO);
    Elevation  saveElevation(Elevation elevation);
    JSONObject getAllElevation(ElevationQueryParams queryParams);
    Elevation getElevationById(String id);
    void deleteElevations(List<String> ids);
    //下载表中内容
    List<Elevation>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;

    Integer countByCounty(String province, String city, String county);
    Integer countByCity(String province, String city);
    Integer countByProvince(String province);

    Integer countByProvinceAndYear(String provinceName, String taskYear);
}
